package com.bettem.modules.tourism.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.bettem.common.base.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 旅游产品图片信息表
 * 
 * @author 颜金星
 * @email sunlightcs@gmail.com
 * @date 2019-07-23 17:11:10
 */
@TableName("tourism_product_group_period")
public class TourismProductGroupPeriodEntity extends BaseEntity {


	/**
	 * 产品id
	 */
	private String productId;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date groupPeriod;

	/**
	 * 成人价格
	 */
	private BigDecimal adultPrice;
	/**
	 * 儿童价格
	 */
	private BigDecimal childrenPrice;
	/**
	 * 单房差
	 */
	private BigDecimal singleRoomPrice;


	/**
	 * 设置：产品id
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}
	/**
	 * 获取：产品id
	 */
	public String getProductId() {
		return productId;
	}

	/**
	 * 设置：日期范围结束
	 */
	public void setGroupPeriod(Date groupPeriod) {
		this.groupPeriod = groupPeriod;
	}
	/**
	 * 获取：日期范围结束
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	public Date getGroupPeriod() {
		return groupPeriod;
	}

	/**
	 * 设置：成人价格
	 */
	public void setAdultPrice(BigDecimal adultPrice) {
		this.adultPrice = adultPrice;
	}
	/**
	 * 获取：成人价格
	 */
	public BigDecimal getAdultPrice() {
		return adultPrice;
	}
	/**
	 * 设置：儿童价格
	 */
	public void setChildrenPrice(BigDecimal childrenPrice) {
		this.childrenPrice = childrenPrice;
	}
	/**
	 * 获取：儿童价格
	 */
	public BigDecimal getChildrenPrice() {
		return childrenPrice;
	}
	/**
	 * 设置：单房差
	 */
	public void setSingleRoomPrice(BigDecimal singleRoomPrice) {
		this.singleRoomPrice = singleRoomPrice;
	}
	/**
	 * 获取：单房差
	 */
	public BigDecimal getSingleRoomPrice() {
		return singleRoomPrice;
	}
}
